package com.longchat.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.longchat.domain.Permission;
import com.longchat.query.PermissionQuery;
import com.longchat.service.IPermission;

@Service
public class PermissionService implements IPermission {
	@Autowired 
	private PermissionQuery permissionQuery;

	public List<Permission> findPermission() {
		return permissionQuery.findPermission();
	}
	
}
